package com.hellobike.haxing.modules.wms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hellobike.haxing.modules.wms.dto.OrderDetailDto;
import com.hellobike.haxing.modules.wms.dto.OrderHeaderDto;
import com.hellobike.haxing.modules.wms.entity.DeliveryOrderHeader;

import java.util.Collection;
import java.util.List;

/**
 * @Description: t_wms_delivery_order_header
 * @Author: haxing-boot
 * @Date:   2020-01-14
 * @Version: V1.0
 */
public interface IDeliveryOrderHeaderService extends IService<DeliveryOrderHeader> {

    List<DeliveryOrderHeader> getByWaveId(Long waveId);

    DeliveryOrderHeader getByOrderCode(String orderCode,Long warehouseId);

    List<OrderHeaderDto> getUnSyncOrders();

    List<OrderDetailDto> getOrderDetailByOrderId(Long orderId);

    void updateSyncOrder(Long id);
}
